<?php

session_start();

if(isset($_SESSION['pdoerror']))
{
    echo $_SESSION['pdoerror'];
    unset($_SESSION['pdoerror']);
}

?>